﻿namespace THSLib
{
    using System;

    public class AATableNameAliasController : BaseBusinessController
    {
        private readonly string spGetAATableNameAliasByTableName = "AATableNameAlias_SelectByTableName";

        public AATableNameAliasController()
        {
            base.dal = new DALBaseProvider("AATableNameAlias", typeof(AATableNameAliasInfo));
        }

        public AATableNameAliasInfo GetAATableNameAliasByTableName(string strTableName)
        {
            return (AATableNameAliasInfo) base.dal.GetDataObject(this.spGetAATableNameAliasByTableName, new object[] { strTableName });
        }
    }
}

